package com.xr.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xr.blog.pojo.BlogArticleTag;

import java.util.List;

/**
 * 文章与标签的对应关系
 *
 * @author XRJ
 * @email 1033835209@qq.com
 * @date 2020-07-07 20:31:38
 */
public interface BlogArticleTagService extends IService<BlogArticleTag> {

    /**
     * 保存指定文章的所有标签
     * @param articleId 文章ID
     * @param tagIds 标签ID集合
     * @return
     */
    boolean saveBatch(Long articleId, List<Long> tagIds);

}

